package com.tingyuge.base.structrue.unio;

/**
 * @Created by xiaodao
 */
public interface UnionFind {

    int getSize();

    boolean isConnected(int p, int q);

    void unionElements(int p, int q);


}
